import store from '@/store'
export const checkPermMixin = {
  data() {
    return {

    }
  },
  methods: {
    checkPerm(pointName) {
    //   [].includes
      return store.state.user.userInfo.roles.points.includes(pointName)
    }
  }
}
